package com.fqgj.sentry.api.domain;

import java.io.Serializable;
import java.util.List;

/**
 * Created by liupengpeng on 2017/11/17.
 */
public class WeightResult implements Serializable {
    /**
     * 策略权重得分 权重策略模式下有效
     */
    private Integer score;
    /**
     * 权重取值范围 以及该范围对应的结果列表（判断落在那个区间）
     */
    private List<WeightRangeResult> weightRangeResults;

    public Integer getScore() {
        return score;
    }

    public WeightResult setScore(Integer score) {
        this.score = score;
        return this;
    }

    public List<WeightRangeResult> getWeightRangeResults() {
        return weightRangeResults;
    }

    public WeightResult setWeightRangeResults(List<WeightRangeResult> weightRangeResults) {
        this.weightRangeResults = weightRangeResults;
        return this;
    }
}
